package com.zy.entity.enums.bs;

/**
 * ${DESCRIPTION}
 *
 * @author liu
 * @create 2018/09/26  下午5:16
 **/
public enum OrderStatusEnum {

    WAIT(0, "待领取"),
    WAIT_SHIP(1, "待发货"),
    WAIT_RECEIPT(2, "待收货"),
    FINISH(3, "交易完成");
    private final String text;
    private final int value;

    private OrderStatusEnum(int value, String text) {
        this.value = value;
        this.text = text;
    }

    public String getText() {
        return text;
    }

    public int getValue() {
        return value;
    }
}
